﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Windows.Forms;
using System.ComponentModel.Design;
using System.ComponentModel;
using ProgNetComponents.Utils;
using System.Collections;

namespace ProgNetComponents.Design.Editors
{
    public class ColumnNameTabEditor : BaseCheckedListEditor<string>
    {
        protected override Dictionary<string, string> GetListBoxItems()
        {
            Dictionary<string, string> l = new Dictionary<string, string>();
            List<string> columns = DesignUtils.GetColumns(Owner, context, servideProvider);
            foreach (string col in columns)
            {
                l.Add(col, col);
            }
            return l;
        }
    }
}
